import request from '@/utils/request';

export function getTableData(page, page_size) {
  return request({
    url: '/vip/gradebig',
    method: 'get',
    params: { page, page_size }
  })
}



export function getList() {
  return request({
    url: '/vip/gradebig/add/privilege',
    method: 'get'
  })
}



export function privilegeAdd(data) {
  return request({
    url: '/vip/gradebig/add',
    method: 'post',
    data
  })
}

export function privilegeEdit(data) {
  return request({
    url: '/vip/gradebig/edit',
    method: 'post',
    data
  })
}

export function privilegeDelete(id) {
  return request({
    url: 'vip/gradebig/del',
    method: 'post',
    data: { id }
  })
}


